package com.edu.dao;

import com.edu.beans.Home;

import java.util.List;

public interface HomeDao {
    int addHome(Home home);

    int deleteHomeById(int id);

    int updateHome(Home home);

    Home getHomeById(int id);

    List<Home> getAllHomeByNum(String num);

    List<Home> getHomeByState(String state);
}
